/* 菜单DIV定义 */
.page_sidebar {
  width : 189px;
  margin : 0;
  padding : 0;
  float : left;
}

/* 菜单DIV，用来给多余部分填色和右边线 */
.page_sidebar:before {
    background-color: #f2f2f2;
    bottom: 0;
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    width: 190px;
    z-index: -1;
    border-color: #ccc;
    border-image: none;
    border-style: solid;
    border-width: 0 1px 0 0;
}
/* 菜单UL定义 */
.page_side_menu {
  margin-bottom: 0;
  padding : 0;
  list-style: none;
}

/* 一级菜单定义 */
.page_side_menu > li {
  display: block;
    position: relative;
    float: none;
    padding: 0;
    border-style: solid;
    border-width: 1px 0 0;
    border-color : #e5e5e5;
    /*height : 40px;*/
    line-height : 38px;
}

/* 菜单区底边线 */
.page_side_menu > li:last-child {
  border-bottom-width: 1px;
}

/* 选中菜单字体加粗 */
.page_side_menu > li.active > a {
  font-weight: bold;
}
/* 菜单文字超链接 */
.page_side_menu > li > a {
  display: block;
  height: 39px;
  line-height: 17px;
  padding-left: 7px;
  text-shadow: none !important;
  font-size: 13px;
  text-decoration: none;
}

/* 定义一级菜单图标 */
.page_side_menu > li > a > .menu-icon {
  display: inline-block;
  min-width: 30px;
  margin-right: 2px;
  vertical-align: sub;
  text-align: center;
  font-size: 18px;
  font-weight: normal;
}

/* 定义一级前HOVER标志，默认隐藏 */
.page_side_menu > li:before {
  display: none;
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 1;
  height: 41px;
  width: 3px;
  max-width: 3px;
  overflow: hidden;
  background-color: #629cc9;
}

/* 一级菜单前HOVER标志显示 */
.page_side_menu > li:hover:before {
  display: block;
}
/* Hover菜单时，超链接不显示 */
.page_side_menu > li > a:hover {
  text-decoration: none;
}

.page_side_menu > li a > .arrow {
  display: block;
  width: 14px !important;
  height: 14px;
  line-height: 14px;
  text-shadow: none;
  font-size: 18px;
  position: absolute;
  right: 10px;
  top: 12px;
  padding: 0;
  text-align: center;
}

/* 二级菜单，选中时显示 */
.page_side_menu > li.active .submenu {
  /*display: block;*/
}

/* 二级菜单，默认不显示 */
.page_side_menu > li .submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  position: relative;
}

/* 二级菜单-菜单项 */
.page_side_menu > li .submenu > li {
  margin-left: 0;
  position: relative;
}

/* 二级菜单-菜单项超链接 */
.page_side_menu > li .submenu > li > a {
  display: block;
  position: relative;
  padding: 7px 0 9px 37px;
  margin: 0;
  border-top-width: 1px;
  border-top-style: dotted;
}

/* 二级菜单-菜单项超链接：hover */
.page_side_menu > li .submenu > li > a:hover {
  text-decoration: none;
}

/* 二级菜单-菜单项图标 */
.page_side_menu > li .submenu > li a > .menu-icon {
  display: none;
  font-size: 12px;
  font-weight: normal;
  width: 18px;
  height: auto;
  line-height: 12px;
  text-align: center;
  position: absolute;
  left: 10px;
  top: 11px;
  z-index: 1;
  background-color: inherit;
}

/* 二级菜单-菜单项图标（选中时、hover时） */
.page_side_menu > li .submenu > li.active > a > .menu-icon,
.page_side_menu > li .submenu > li:hover > a > .menu-icon {
  display: inline-block;
}

/* 二级菜单 */
.page_side_menu > li > .submenu {
  border-top: 1px solid;
}

/* 二级菜单前横线 */
.page_side_menu > li > .submenu > li:before {
  content: "";
  display: block;
  width: 7px;
  position: absolute;
  z-index: 1;
  left: 20px;
  top: 17px;
  border: 1px dotted;
  border-width: 1px 0 0;
}

/* 二级菜单前竖线 */
.page_side_menu > li > .submenu:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 0;
  bottom: 0;
  border: 1px dotted;
  border-width: 0 0 0 1px;
}

/*  */
.page_side_menu li:hover > a > .arrow,
.page_side_menu li.active > a > .arrow,
.page_side_menu li.open > a > .arrow {
  color: inherit;
}

/* 二级菜单选中时显示 */
.page_side_menu li.open > .submenu {
  display: block;
}
.page_side_menu > li > .submenu a > .arrow {
  right: 10px;
  top: 10px;
  font-size: 16px;
}

/* 二级菜单第一个菜单控制 */
.page_side_menu > li > .submenu > li:first-child > a {
  border-top-width: 0;
}
/* 二级菜单 定义 */
.page_side_menu > li > .submenu li > .submenu > li {
  line-height: 18px;
}
.page_side_menu > li > .submenu li > .submenu > li:before {
  display: none;
}
.page_side_menu > li > .submenu li > .submenu > li > a {
  margin-left: 20px;
  padding-left: 22px;
}
.page_side_menu > li > .submenu li > .submenu > li > .submenu > li > a {
  margin-left: 20px;
  padding-left: 38px;
}
.page_side_menu > li > .submenu li > .submenu > li a > .menu-icon {
  display: inline-block;
  width: auto;
  position: static;
  background-color: transparent;
  margin-right: 4px;
  color: inherit;
}
.page_side_menu > li > .submenu li > .submenu > li a .menu-icon,
.page_side_menu > li > .submenu li > .submenu > li a .arrow {
  color: inherit;
}
.page_side_menu > li > .submenu li.open:not(.hover) > a > .menu-icon {
  display: inline-block;
}

/*MENU SKIN  */
.page_sidebar .page_side_menu > li > a:focus {
  background-color: #f8f8f8;
  color: #1963aa;
}
.page_sidebar .page_side_menu > li:hover > a {
  background-color: #ffffff;
  color: #266cad;
}
.page_sidebar .page_side_menu > li.open > a {
  background-color: #fafafa;
  color: #1963aa;
}
.page_sidebar .page_side_menu > li.active > a {
  font-weight: bold;
  color: #2b7dbc;
}
.page_sidebar .page_side_menu > li.active > a,
.page_sidebar .page_side_menu > li.active > a:hover,
.page_sidebar .page_side_menu > li.active > a:focus {
  background-color: #ffffff;
}
.page_sidebar .page_side_menu > li .submenu {
  background-color: #ffffff;
  border-color: #e5e5e5;
}
.page_sidebar .page_side_menu > li .submenu > li > a {
  border-top-color: #e4e4e4;
  background-color: #ffffff;
  color: #616161;
}
.page_sidebar .page_side_menu > li .submenu > li > a:hover {
  color: #4b88b7;
  background-color: #f1f5f9;
}
.page_sidebar .page_side_menu > li .submenu > li.active > a {
  color: #2b7dbc;
}
.page_sidebar .page_side_menu > li .submenu > li.active > a > .menu-icon {
  color: #c86139;
}
.page_sidebar .page_side_menu > li .submenu > li.active.open > a > .menu-icon {
  color: inherit;
}
.page_sidebar .page_side_menu > li .submenu > li.active:not(.open) > a {
  background-color: #f5f7fa;
}
.page_sidebar .page_side_menu > li .submenu > li.active:not(.open) > a:hover {
  background-color: #f1f5f9;
}
.page_sidebar .page_side_menu > li > .submenu .open > a,
.page_sidebar .page_side_menu > li > .submenu .open > a:hover,
.page_sidebar .page_side_menu > li > .submenu .open > a:focus {
  border-color: #e4e4e4;
}
.page_sidebar .page_side_menu > li > .submenu li > .submenu > li a {
  color: #757575;
}
.page_sidebar .page_side_menu > li > .submenu li > .submenu > li a:hover {
  color: #4b88b7;
  background-color: #f1f5f9;
}
.page_sidebar .page_side_menu > li > .submenu li.open > a {
  color: #4b88b7;
}
.page_sidebar .page_side_menu > li > .submenu li > .submenu li.open > a,
.page_sidebar .page_side_menu > li > .submenu li > .submenu li.active > a {
  color: #4b88b7;
}
.page_sidebar .page_side_menu > li > .submenu:before,
.page_sidebar .page_side_menu > li > .submenu > li:before {
  border-color: #9dbdd6;
}
.page_sidebar .page_side_menu > li.active > .submenu:before,
.page_sidebar .page_side_menu > li.active > .submenu > li:before {
  border-color: #8eb3d0;
}
.page_side_menu li.open.active > a:after {
  content: "";
  border: 0!important;
}
.page_side_menu li.active > a:after {
  display: block;
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  border: 8px solid transparent;
  border-width: 14px 10px;
}
.page_sidebar .page_side_menu li.active > a:after {
  border-right-color: #2b7dbc;
  -moz-border-right-colors: #2b7dbc;
}

.page_sidebar .page_side_menu > li.active:after {
  display: block;
  content: "";
  position: absolute;
  right: -2px;
  top: -1px;
  bottom: 0;
  z-index: 1;
  border: 2px solid;
  border-width: 0 2px 0 0;
  border-color: #2b7dbc;
}

/*sidebar-toggle*/
.page_sidebar .page_sidebar-toggle {
  border-style: solid;
  border-width: 0 0 1px;
  text-align: center;
  padding: 3px 0;
  position: relative;
}
.page_sidebar .page_sidebar-toggle > .mini-icon {
  padding: 0 5px;
  line-height: 18px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 100%;
  border: 1px solid;
  position: relative;
}
.page_sidebar .page_sidebar-toggle:before {
  content: "";
  display: block;
  height: 0;
  border-top: 1px solid;
  border-color: inherit;
  position: absolute;
  left: 15px;
  right: 15px;
  top: 13px;
}
.page_sidebar  .page_sidebar-toggle {
  background-color: #f3f3f3;
  border-color: #e0e0e0;
}
.page_sidebar .page_sidebar-toggle > .mini-icon {
  border-color: #bbbbbb;
  color: #aaaaaa;
  background-color: #ffffff;
}

.page_sidebar .page_side_menu > li:hover > a {
  background-color: #ffffff;
  color: #266cad;
}
.page_sidebar .page_side_menu > li.open > a {
  background-color: #fafafa;
  color: #1963aa;
}
.page_sidebar .page_side_menu > li.active > a {
  font-weight: bold;
  color: #2b7dbc;
}
.page_sidebar .page_side_menu > li.active > a,
.page_sidebar .page_side_menu > li.active > a:hover,
.page_sidebar .page_side_menu > li.active > a:focus {
  background-color: #ffffff;
}
.page_side_menu > li > a {
  background-color: #f8f8f8;
  color: #585858;
}


/* MENU- min */
.page_sidebar.menu-min,
.page_sidebar.menu-min.compact,
.page_sidebar.menu-min.navbar-collapse {
  width: 43px;
}

.page_sidebar.menu-min:before {
  width: 44px;
}
.page_sidebar.menu-min + .main-content {
  margin-left: 43px;
}
.page_sidebar.menu-min > .page_side_menu a .badge,
.page_sidebar.menu-min > .page_side_menu a .label {
  position: relative;
  top: -1px;
  right: auto;
  left: 4px;
}
.page_sidebar.menu-min > .page_side_menu .submenu .submenu a .badge,
.page_sidebar.menu-min > .page_side_menu .submenu .submenu a .label {
  top: 0;
}
.page_sidebar.menu-min > .page_side_menu > li > a {
  position: relative;
  height: 39px;
  line-height: 37px;
  padding: 0;
}
.page_sidebar.menu-min > .page_side_menu > li > a > .menu-icon {
  font-size: 18px;
  height: auto;
  line-height: inherit;
  display: inline-block;
  vertical-align: sub;
  margin-right: 0;
  width: 44px;
}
.page_sidebar.menu-min > .page_side_menu > li > a > .menu-text {
  display: none;
  text-align: left;
  position: absolute;
  top: -1px;
  left: 42px;
  z-index: 1025;
  width: 176px;
  height: 41px;
  line-height: 38px;
  padding-left: 12px;
  border: 1px solid;
}
.page_sidebar.menu-min > .page_side_menu > li > a.dropdown-toggle > .menu-text {
  top: -1px;
  border-width: 1px 1px 0;
}
.page_sidebar.menu-min > .page_side_menu > li > a .arrow {
  display: none;
}
.page_sidebar.menu-min > .page_side_menu > li:hover > a > .menu-text,
.page_sidebar.menu-min > .page_side_menu > li.hover-show > a > .menu-text {
  display: block;
}
.page_sidebar.menu-min > .page_side_menu > li.active > a:after {
  border-width: 10px 6px;
  top: 8px;
}
.page_sidebar.menu-min > .page_side_menu > li.active.open > a:after {
  display: block;
}
.page_sidebar.menu-min > .page_side_menu > li.active.open li.active > a:after {
  display: none;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu {
  position: absolute;
  z-index: 1026;
  left: 42px;
  top: -1px;
  margin-top: 40px;
  padding-bottom: 2px;
  width: 176px;
  display: none !important;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu:before {
  display: none;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu:after {
  content: "";
  display: block;
  height: 1px;
  width: 1px;
  position: absolute;
  right: -1px;
  top: -1px;
  border-right: 1px solid;
  border-right-color: inherit;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu li:before {
  display: none;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu li > a {
  margin-left: 0;
  padding-left: 22px;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu li > a > .menu-icon {
  left: 4px;
}
.page_sidebar.menu-min > .page_side_menu > li.hover > .submenu {
  padding-bottom: 0;
}
.page_sidebar.menu-min > .page_side_menu > li.open > .submenu {
  display: none;
}
.page_sidebar.menu-min > .page_side_menu > li:hover > .submenu,
.page_sidebar.menu-min > .page_side_menu > li.hover-show > .submenu {
  display: block !important;
}
.page_sidebar.menu-min > .page_side_menu > li > .arrow {
  top: 10px;
}
.page_sidebar.menu-min > .page_side_menu > li > .arrow:after,
.page_sidebar.menu-min > .page_side_menu > li > .arrow:before {
  border-width: 8px;
  left: -16px;
}
.page_sidebar.menu-min > .page_side_menu > li > .arrow:before {
  left: -17px;
}
.page_sidebar.menu-min > .page_side_menu li > .arrow {
  right: -1px;
}
.page_sidebar.menu-min > .page_side_menu > li:hover > .arrow,
.page_sidebar.menu-min > .page_side_menu > li.hover-show > .arrow {
  display: block;
}
.page_sidebar.menu-min > .page_side_menu > li.pull_up > .arrow {
  z-index: 1027;
}
.page_sidebar.menu-min > .page_side_menu > li.pull_up > .arrow:after,
.page_sidebar.menu-min > .page_side_menu > li.pull_up > .arrow:before {
  border-width: 10px;
  left: -20px;
}
.page_sidebar.menu-min > .page_side_menu > li.pull_up > .arrow:before {
  left: -21px;
}
.page_sidebar.menu-min .page_sidebar-shortcuts {
  position: relative;
  overflow: visible;
  z-index: 1;
}
.page_sidebar.menu-min .page_sidebar-shortcuts-mini {
  display: block;
}
.page_sidebar.menu-min .page_sidebar-shortcuts-large {
  display: none;
  position: absolute;
  top: 0;
  left: 42px;
  width: 182px;
  padding: 0 2px 3px;
  border: 1px solid;
  border-top-width: 0;
}
.page_sidebar.menu-min .page_sidebar-shortcuts:hover .page_sidebar-shortcuts-large,
.page_sidebar.menu-min .page_sidebar-shortcuts.hover-show .page_sidebar-shortcuts-large {
  display: block;
}
.page_sidebar.menu-min .page_sidebar-toggle:before {
  left: 5px;
  right: 5px;
}
.page_sidebar.menu-min .page_sidebar-toggle > .mini-icon {
  font-size: 13px;
  padding: 0 4px;
  line-height: 15px;
  border-width: 1px;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu li > .submenu > li > a {
  margin-left: 2px;
  padding-left: 30px;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu li > .submenu > li > .submenu > li > a {
  margin-left: 2px;
  padding-left: 45px;
}
.page_sidebar.menu-min > .page_side_menu > li > .submenu li.active > a:after {
  display: none;
}
.page_sidebar.menu-min > .page_side_menu li.active.open > .submenu > li.active > a:after {
  display: none;
}
.page_sidebar.menu-min > .page_side_menu > li.active:hover > a:after,
.page_sidebar.menu-min > .page_side_menu > li.active.hover-show > a:after,
.page_sidebar.menu-min > .page_side_menu > li.active.open:hover > a:after {
  display: none;
}
.page_sidebar.menu-min > .page_side_menu > li.active:hover:after {
  display: none;
}

.page_side_menu li > .arrow:before {
  border-right-color: #B8B8B8;
  -moz-border-right-colors: #B8B8B8;
  border-width: 10px 10px 10px 0;
  left: -11px;
}
.page_side_menu li > .arrow:after {
  border-right-color: #ffffff;
  -moz-border-right-colors: #ffffff;
  border-width: 10px 10px 10px 0;
  left: -10px;
}
.page_side_menu > li.pull_up > .arrow:after {
  border-right-color: #ffffff !important;
  -moz-border-right-colors: #ffffff !important;
  border-width: 10px 10px 10px 0 !important;
  left: -10px !important;
}
.page_side_menu > li.pull_up > .arrow:before {
  border-width: 10px 10px 10px 0 !important;
  left: -11px !important;
}
.page_side_menu li.active > a:after {
  border-right-color: #2b7dbc;
  -moz-border-right-colors: #2b7dbc;
}
.page_side_menu > li.active:after {
  display: block;
  content: "";
  position: absolute;
  right: -2px;
  top: -1px;
  bottom: 0;
  z-index: 1;
  border: 2px solid;
  border-width: 0 2px 0 0;
  border-color: #2b7dbc;
}
.page_sidebar.menu-min .page_side_menu > li > a > .menu-text {
  background-color: #f5f5f5;
  -webkit-box-shadow: 2px 1px 2px 0 rgba(0,0,0,0.1);
  box-shadow: 2px 1px 2px 0 rgba(0,0,0,0.1);
  border-color: #cccccc;
}
.page_sidebar.menu-min .page_side_menu > li > a.dropdown-toggle > .menu-text {
  -webkit-box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.1);
  box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.1);
}
.page_sidebar.menu-min .page_side_menu > li.active > .submenu {
  border-left-color: #83b6d1;
}
.page_sidebar.menu-min .page_side_menu > li > .submenu {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-top-color: #e6e6e6;
  -webkit-box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.1);
  box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.1);
}
.page_sidebar.menu-min .page_side_menu > li > .arrow:after {
  border-right-color: #f5f5f5;
  -moz-border-right-colors: #f5f5f5;
  border-width: 8px 8px 8px 0;
  left: -8px;
}
.page_sidebar.menu-min .page_side_menu > li > .arrow:before {
  border-width: 8px 8px 8px 0;
  left: -9px;
}
.page_sidebar.menu-min .page_side_menu > li.active > .arrow:before {
  border-right-color: #5a9ec2;
  -moz-border-right-colors: #5a9ec2;
}
.page_sidebar.menu-min .page_side_menu > li.active > a > .menu-text {
  border-left-color: #83b6d1;
}
.page_sidebar.menu-min .page_sidebar-shortcuts-large {
  background-color: #ffffff;
  -webkit-box-shadow: 2px 1px 2px 0 rgba(0,0,0,0.1);
  box-shadow: 2px 1px 2px 0 rgba(0,0,0,0.1);
  border-color: #cccccc;
}

@media (max-width: 767px) {
  .page_sidebar {
    display:none;
    position : absolute!important;
    top : 39px;
    overflow-x : hidden;
    box-shadow: 5px 5px 5px #888888;
    border-color: #ccc;
    border-image: none;
    border-style: solid;
    border-width: 0 1px 1px 0;
    z-index : 500;
  }
  .page_sidebar:before {
    display:none;
  }
  .page_sidebar.menu-min {
    display:none;
  }
}